/* 
 * Licensed Materials - Property of IBM
 * (c) Copyright IBM Corporation 2010. All Rights Reserved.
 *
 * Note to U.S. Government Users Restricted Rights:  Use,
 * duplication or disclosure restricted by GSA ADP Schedule
 * Contract with IBM Corp.
 *
 * This code is released under the terms of the Eclipse Public License
 * version 1.0 which can be found at the top level of this project or
 * or at http://www.eclipse.org/org/documents/epl-v10.php
 */

package com.ibm.mining;

import java.util.LinkedList;
import java.util.List;

import com.ibm.mining.model.Type;

public class TableData {
	public String name;
	public List<Pair<String, Type>> columns;
	public List<String> keys;
	
	public TableData(String name) {
		this.name = name;
		columns = new LinkedList<Pair<String, Type>>();
		keys = new LinkedList<String>();
		
	}
	
	public boolean hasKeys() {
		return keys.size() > 0;
	}
}
